<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
    <title>泥头车企业信息修改</title>
</head>
<body>
<form id="corp-add-dlg-form" action="departmentServlet.do?method=add" method="post">
    <div class="datagrid-body">
        <table class="datagrid-btable" cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
             <tbody>
            <tr class="datagrid-row">
             <!--   <td style="border-style: solid; width:15%; text-align:right; padding-right: 7px">id</td>
                <td style="border-style: solid; width:35%; text-align: left;">
                    <input type="text" name="id" class="easyui-validatebox"  style="width: 266px">
                </td> -->
                <td style="border-style: solid; width:15%; text-align:right; padding-right: 7px">部门编码</td>
                <td style="border-style: solid; width:35%; text-align: left;">
                    <input type="text" name="departmentNum"class="easyui-validatebox" style="width: 266px" data-options="validType:'length[4,5]'">
                </td>
            </tr>
            <tr class="datagrid-row">
                <td style="border-style: solid; width:15%; text-align:right; padding-right: 7px">部门名称</td>
                <td style="border-style: solid; width:35%; text-align: left;">
                    <input type="text" name="departmentName" class="easyui-validatebox" style="width: 266px" data-options="validType:'length[4,10]'">
               </td>
               
            </tr>
            </tbody>
        </table>
    </div>
</form>
<script type="text/javascript">
    $(function(){

        $("#corp-add-dlg-form .easyui-validatebox")
            .validatebox({
                required:true,
                novalidate:true
            })
            .focus(function(){
                $(this).validatebox({novalidate:false});
            }).blur(function(){
            $(this).validatebox({novalidate:false});
        });
    });
</script>
</body>
</html>